package com.kotlin.flong.flow

import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking

/**
 * @Author:liangjl
 * @Date: 2020/7/9-21:53
 * @Eamil:jilongliang@sina.com
 * @Description:
 */
private suspend fun myMethod(): List<String> {
    delay(1000L)
    return listOf("周伯通", "一灯大师", "郭靖", "风清扬");
}

fun main() = runBlocking {
    myMethod().forEach { println(it) }
}